Page({
  data: {
    msg: '250',
    count: 0,
  },

  //addCount 增加count
  addCount() {
    this.setData({
      count: this.data.count + Math.floor(Math.random() * 10),
      msg: '250' + this.data.count,
    })
  },
  // 点击事件
  clickSB() {
    console.log('YouAreSB' + Date.now());
    wx.hideLoading({
      noConflict: true,
      success: (res) => {},
      fail: (res) => {},
      complete: (res) => {},
    })
    wx.showModal({
      title: '标题',
      content: '内容🤫🤫🤫',
      complete: (res) => {
        if (res.cancel) {

        }

        if (res.confirm) {

        }
      }
    })
  },
  clickSB2() {
    console.log('sbsbsb' + Date.now());
    wx.showLoading({
      title: 'title',
    })
  },
})